package week6;

public class Employee {
    private String name;
    private String gender;
    private int age;
    private String number;

    public String getName(){
        return name;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getGender(){
        return  gender;
    }
    public void setGender(String gender){
        this.gender = gender;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age = age;
    }
    public String getNumber(){
        return number;
    }
    public void setNumber(String number){
        this.number = number;
    }
    public String getInfo(){
        return "姓名："+name+"性别"+gender+"年龄"+age+"电话"+number;
    }
}
